﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CRS.Web.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>棋牌管理系统</title>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
        }
        .right-table01
        {
            background-image: url(../images/button01.gif);
            text-align: center;
            height: 40px;
            float: left;
            width: 117px;
        }
        .right-table03
        {
            margin-top: 16px;
            margin-bottom: 20px;
        }
        .login-text01
        {
            font-family: "宋体";
            font-size: 12px;
            color: #7F9DB9;
            text-decoration: none;
        }
        .login-text02
        {
            font-family: "宋体";
            font-size: 13px;
            color: #7F9DB9;
            text-decoration: none;
            text-align: right;
            padding-top: 4px;
        }
        .txt_over
        {
            border: #2C59AA 1px solid;
        }
        .txt_out
        {
            border: #A8CFEB 1px solid;
        }
    </style>
    <link href="/ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
    <link type="text/css" rel="Stylesheet" href="ScriptFiles/CSS/style.css" />

    <script src="ScriptFiles/JS/jquery.js" type="text/javascript"></script>



    <script type="text/javascript">
        function CheckLogin() {
            if ($("#UserName").val() == "") {
                alert("账号不能为空!");
                $("#UserName").focus();
                return false;
            }
            if ($("#Password").val() == "") {
                alert("密码不能为空!");
                $("#Password").focus();
                return false;
            }
            return true;

        }

        function GetFocus(obj) {
            var text = document.getElementById(obj);
            text.focus();

        }
        
    </script>

</head>
<body style="background-image: url(Images/background.jpg)" onload="document.getElementById('UserName').focus();">
    <form runat="server">
    <br />
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="100" align="center">
                <asp:Label ID="lblSystemName" runat="server" Font-Size="30px" Font-Bold="true" ForeColor="Blue">棋 牌 管 理 系 统</asp:Label>
                            </td>
        </tr>
    </table>
    <table width="562" border="0" align="center" cellpadding="0" cellspacing="0" class="right-table03">
        <tr>
            <td width="221">
                <table width="95%" border="0" cellpadding="0" cellspacing="0" class="login-text01">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="login-text01">
                                <tr>
                                    <td align="center">
                                        <img src="images/ico13.gif" width="107" height="97" />
                                    </td>
                                </tr>
                                <tr>
                                    <td height="40" align="center">
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td>
                            <img src="images/line01.gif" width="5" height="292" />
                        </td>
                    </tr>
                </table>
            </td>
            <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="31%" height="35" class="login-text02">
                            帐 号：<br />
                        </td>
                        <td width="69%">
                            <div style="width: 163px; height: 22px; background-color: White;" class="txt_out"
                                onmouseover="this.className='txt_over'" onmouseout="this.className='txt_out'">
                                <span>
                                    <img src="Images/usergroup.gif" alt="" style="margin-top: 2px; margin-left: 2px;
                                        width: 13px; height: 15px;" /></span> <span>
                                            <input name="UserName" id="UserName" type="text" size="31" 
                                    runat="server" onmouseover="GetFocus('UserName')"
                                                style="border-style: none;  border-width: 0px; width: 131px;
                                                vertical-align: middle" /></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td height="35" class="login-text02">
                            密 码：<br />
                        </td>
                        <td>
                            <div style="width: 163px; height: 22px; background-color: White;" class="txt_out"
                                onmouseover="this.className='txt_over'" onmouseout="this.className='txt_out'">
                                <span>
                                    <img src="Images/password.gif" alt="" style="margin-top: 3px; margin-left: 2px; width: 13px;
                                        height: 15px;" /></span> <span>
                                            <input name="Password" id="Password" type="password" size="33" style="border-style: none;
                                                 border-width: 0px; width: 133px; vertical-align: middle"
                                                runat="server" onmouseover="GetFocus('Password')" /></span>
                            </div>
                        </td>
                    </tr>
                    <%--                    <tr>
                        <td height="35" class="login-text02">
                            登 往：
                        </td>
                        <td>
                        <div style="width: 202px; height: 22px; background-color:White;" class="txt_out" 
                                onmouseover="this.className='txt_over'" 
                                onmouseout="this.className='txt_out'">
                                <span>
                                    <img src="Images/go.gif" alt="" style="margin-top: 3px; margin-left: 2px;width:15px; " /></span>
                                <span>
                            <asp:DropDownList ID="ddlGo" runat="server" Height="16px" Width="175px"   style="border-style: none; border-color: inherit; border-width: 0px; border:0px;"
                                ForeColor="Gray">
                                <asp:ListItem Text="AMS系统" Value="0"></asp:ListItem>
                                <asp:ListItem Text="AMS后台管理" Value="1"></asp:ListItem>
                            </asp:DropDownList>
                            </span>
                            </div>
                        </td>
                    </tr>--%>
                    <tr>
                        <td height="35">
                    
                        </td>
                        <td align="left">
                            <asp:Button ID="btnSubmit" class="btn_mouseout" onmouseover="this.className='btn_mouseover' "
                                onmouseout="this.className='btn_mouseout' " onmousedown="this.className='btn_mousedown'"
                                onmouseup="this.className='btn_mouseup'" OnClientClick="return CheckLogin();"
                                runat="server" OnClick="Login_Click" Text="登  录" ToolTip="登录" />
                            &nbsp;
                            <input type="button" onclick="javascript:window.close();" value="关 闭" style="margin-left: 13px;
                                cursor: pointer;" class="btn_mouseout" onmouseover="this.className='btn_mouseover' "
                                onmouseout="this.className='btn_mouseout' " title="关闭" onmousedown="this.className='btn_mousedown'"
                                onmouseup="this.className='btn_mouseup'" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
